import 'package:flutter/material.dart';
import 'package:vmall_app/models/home_carousel.dart';

class MessagePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return //Image.network(listHomeCarousel[0].imageUrl,fit: BoxFit.cover,);
        FadeInImage.assetNetwork(
      image: listHomeCarousel[0].imageUrl,
       placeholder: "images/s.jpg",
  
    );
    /*Container(
      child: Swiper(
        itemCount: listHomeCarousel.length,
        itemBuilder: (context, index) {
          return Image.network(listHomeCarousel[index].imageUrl,fit: BoxFit.cover,);
        },
        itemHeight: 200,
      ),
    );
    */
  }
}
